<template>
  <svg
    class="yindu-icon"
    width="24px"
    height="24px"
    viewBox="0 0 24 24"
    version="1.1"
    xmlns="http://www.w3.org/2000/svg"
    xmlns:xlink="http://www.w3.org/1999/xlink"
  >
    <g
      id="页面-1"
      stroke="none"
      stroke-width="1"
      fill="none"
      fill-rule="evenodd"
    >
      <g id="切图" transform="translate(-1257.000000, -107.000000)">
        <g id="编组-9" transform="translate(1257.000000, 107.000000)">
          <circle id="椭圆形" fill="#43E512" cx="12" cy="12" r="12"></circle>
          <text
            id="Y"
            font-family="PingFangSC-Regular, PingFang SC"
            font-size="16"
            font-weight="normal"
            fill="#FFFFFF"
          >
            <tspan x="7" y="18">Y</tspan>
          </text>
        </g>
      </g>
    </g>
  </svg>
</template>

<script setup lang="ts">
type Props = {
  fill?: string;
};

const props = withDefaults(defineProps<Props>(), {
  fill: "#3D88F2",
});

const fillColor = computed(() => {
  return props.fill;
});
</script>
<style scoped lang="less">
.yindu-icon {
  & path {
    fill: v-bind(fillColor);
  }
}
</style>
